<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<section class="widget geduo" th:each="bean : ${beanList}">
    <header>
        <button class="blue fl">修改</button>
        <hgroup>
            <h1 th:text="${bean.getName()}"></h1>
            <h2 th:text="${bean.getNotes()}"></h2>
        </hgroup>
    </header>
    <div class="content">
        <div th:id="${bean.getId()}" style="width: 100%;height:300px;margin-bottom:30px;"></div>
    </div>
</section>
<script src="js/mjchart.js"></script>
<script th:each="bean : ${beanList}" th:utext="'var data'+${bean.getId()}+'='+${bean.getJsonNode()}"></script>
<script th:each="bean : ${beanList}"
        th:utext="'shmj(&quot;'+${bean.getId()}+'&quot;,data'+${bean.getId()}+',&quot;'+${bean.getType()}+'&quot;)'"></script>
</body>
</html>